<template>
	<view class="box">
		<view class="smallbox">
			<view class="letfbox">
				<view class="topbox">
					<text class="name">蜡笔小新</text>
					<text class="phone">15978545236</text>
					<text class="mr">
						默认
					</text>
				</view>
				<view class="site">
					四川省成都市武侯区红牌楼1号写字楼601室"
				</view>
			</view>
			<image src="../../static/site.png" mode=""></image>
		</view>
		<view class="" style="height: 180rpx;">
			
		</view>
		<view class="addsite" @click="addsite">
			添加新地址
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			addsite(){
				this.jumpLink({link:"/pagesA/addnew_site/index"})
			}
		}
	}
</script>

<style scoped lang="scss">
	.box {
		background-color: #fff;
		position: fixed;
		top: 43rpx;
		bottom: 0;
		right: 0;
		left: 0;
		overflow: scroll;

		.smallbox {
			width: 100%;
			padding: 55rpx 26rpx;
			box-sizing: border-box;
			display: flex;
			align-items: center;
			justify-content: space-between;
			border-bottom: 1rpx solid #ddd;

			.letfbox {
				.topbox {
					text {
						font-family: SourceHanSansCN-Medium;
						font-size: 32rpx;
						color: #333333;
						font-weight: 700;
						margin-left: 30rpx;
					}

					.mr {
						width: 58rpx;
						height: 27rpx;
						background-color: #ffffff;
						border: solid 1rpx #eb4000;
						line-height: 27rpx;
						display: inline-block;
						text-align: center;
						font-family: SourceHanSansCN-Regular;
						font-size: 20rpx;
						color: #eb4000;
					}
				}

				.site {
					font-family: SourceHanSansCN-Regular;
					font-size: 26rpx;
					color: #666666;
					margin-top: 30rpx;
				}
			}
		}

		image {
			width: 38rpx;
			height: 36rpx;
		}

		.addsite {
			width: 700rpx;
			height: 98rpx;
			background-color: #f73f33;
			border-radius: 10rpx;
			line-height: 98rpx;
			text-align: center;
			font-family: SourceHanSansCN-Regular;
			font-size: 36rpx;
			color: #ffffff;
			position: fixed;
			left: 25rpx;
			bottom: 60rpx;
		}
	}
</style>
